package com.gohome.gohomechat.presenter;

import com.gohome.gohomechat.presenter.presenterlistener.MainPresenterInterface;
import com.gohome.gohomechat.ui.viewlistener.MainViewInterface;

/**
 * Created by dllo on 16/3/2.
 */
public class MainPresenter extends BasePresenter<MainViewInterface> implements MainPresenterInterface {
    private MainViewInterface mainViewInterface;

    public MainPresenter(MainViewInterface mainViewInterface) {
        this.mainViewInterface = mainViewInterface;
    }

    @Override
    public void addFriend() {
        mainViewInterface.toAddFriendActivity();
    }
}
